package shop.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import shop.mapper.SysRoleMapper;
import shop.pojo.SysRole;
import shop.service.SysRoleService;

import java.util.List;
@Service
public class SysRoleServiceImpl implements SysRoleService {

    @Autowired
    public SysRoleMapper sysRoleMapper;

    @Override
    public List<SysRole> getRoleList() {
        return sysRoleMapper.getRoleList();
    }

    @Override
    public List<SysRole> list() {
        return sysRoleMapper.list();
    }
}
